package com.koron.css2.serviceManage.mapper;

import com.koron.css2.serviceManage.bean.AccessoryTypeBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *  附件类型
 * @author 金浩
 *
 */
public interface AccessoryTypeMapper {

	/**
	 * 新增
	 * @param bean
	 * @return
	 */
	public Integer saveAccessoryType(AccessoryTypeBean bean);
	
	/**
	 * 更新
	 * @param bean
	 * @return
	 */
	public Integer updateAccessoryType(AccessoryTypeBean bean);
	
	/**
	 * 分页查询
	 * @param bean
	 * @return
	 */
	public List<AccessoryTypeBean> selectAccessoryType();
	
	/**
	 * 根据accessoryTypeId查accessoryType数据
	 * @param accessoryTypeId
	 * @return
	 */
	public AccessoryTypeBean findAccessoryTypeById(@Param("accessoryTypeId") String accessoryTypeId);
	
}
